bitkeeper revision 1.1159.258.82 (424bc92fEcWwZjH-px6jvpApRHiBmQ)
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 31 Mar 2005 09:55:59 +0000 (09:55 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 31 Mar 2005 09:55:59 +0000 (09:55 +0000)
fix the broken xen build

xen/common/page_alloc.c

index 8637b8cea5cd85d1880815bbae66500b42220160..b143eba8bc8c7a2fffc259bb993c1c774c0c2649 100644 (file)
@@ -41,6 +41,9 @@ string_param("badpage", opt_badpage);
 #define round_pgdown(_p)  ((_p)&PAGE_MASK)
 #define round_pgup(_p)    (((_p)+(PAGE_SIZE-1))&PAGE_MASK)
 
+static spinlock_t page_scrub_lock;
+struct list_head page_scrub_list;
+
 /*********************
  * ALLOCATION BITMAP
  *  One bit per page of memory. Bit set => page is allocated.
@@ -628,9 +631,6 @@ unsigned long avail_domheap_pages(void)
  * PAGE SCRUBBING
  */
 
-static spinlock_t page_scrub_lock;
-struct list_head page_scrub_list;
-
 static void page_scrub_softirq(void)
 {
     struct list_head *ent;